import request from '@/utils/request'

// 查询评议用户列表
export function listReviewUser(query) {
  return request({
    url: '/partybuilding/ReviewUser/list',
    method: 'get',
    params: query
  })
}

// 查询评议用户详细
export function getReviewUser(id) {
  return request({
    url: '/partybuilding/ReviewUser/' + id,
    method: 'get'
  })
}

// 新增评议用户
export function addReviewUser(data) {
  return request({
    url: '/partybuilding/ReviewUser/add',
    method: 'post',
    data: data
  })
}

// 修改评议用户
export function updateReviewUser(data) {
  return request({
    url: '/partybuilding/ReviewUser/edit',
    method: 'post',
    data: data
  })
}

// 删除评议用户
export function delReviewUser(id) {
  return request({
    url: '/partybuilding/ReviewUser/remove/' + id,
    method: 'post'
  })
}
